package com.lswms.modules.lswms.dto.task;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;

import java.math.BigDecimal;

/**
 * 任务
 *
 * @author DX sunlightcs@gmail.com
 * @since 1.0.0 2021-06-22
 */
@Data
@ApiModel(value = "任务")
public class TaskDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "序号")
	private Long id;

	@ApiModelProperty(value = "任务号")
	private String taskkey;

	@ApiModelProperty(value = "任务类型")
	private String tasktype;

	@ApiModelProperty(value = "优先级")
	private Integer priority;

	@ApiModelProperty(value = "状态")
	private Integer status;

	@ApiModelProperty(value = "商品编码")
	private String sku;

	@ApiModelProperty(value = "数量")
	private BigDecimal qty;

	@ApiModelProperty(value = "来源单类型")
	private String sourcetype;

	@ApiModelProperty(value = "来源单号")
	private String sourcekey;

	@ApiModelProperty(value = "来源单行号")
	private Integer sourceline;

	@ApiModelProperty(value = "来源单记录行号")
	private Integer sourcelinelist;

	@ApiModelProperty(value = "自库位")
	private String fromlocation;

	@ApiModelProperty(value = "至库位")
	private String tolocation;

	@ApiModelProperty(value = "自托盘")
	private String fromtray;

	@ApiModelProperty(value = "至托盘")
	private String totray;

	@ApiModelProperty(value = "自箱")
	private String frombox;

	@ApiModelProperty(value = "至箱")
	private String tobox;

	@ApiModelProperty(value = "自批")
	private String fromlot;

	@ApiModelProperty(value = "至批")
	private String tolot;

	@ApiModelProperty(value = "任务流水")
	private String taskno;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "任务下发标志")
	private String sendflag;

	@ApiModelProperty(value = "任务下发时间")
	private Date sendtime;

	@ApiModelProperty(value = "任务接收时间")
	private Date receivetime;

	@ApiModelProperty(value = "创建人")
	private String adduser;

	@ApiModelProperty(value = "创建时间")
	private Date addtime;

	@ApiModelProperty(value = "修改人")
	private String updatuser;

	@ApiModelProperty(value = "修改时间")
	private Date updatetime;

	@ApiModelProperty(value = "IP地址")
	private String ip;
	
	@ApiModelProperty(value="weight")
	private BigDecimal weight;
}